home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL-GLC / glcgetfontmap.z / glcgetfontmap
Text File  |  1998-10-20  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp((((3333GGGG))))         OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr          ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp - return the string name of a character
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      const GLCchar* ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp( GLint _i_n_F_o_n_t,
  14.                                    GLint _i_n_C_o_d_e )
  15.  
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _i_n_F_o_n_t  Specifies the integer ID of the font from which to select the
  19.              character.
  20.  
  21.      _i_n_C_o_d_e  Specifies the integer ID of the character in the font map.
  22.  
  23.  
  24. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp returns the string name of the character that the font
  26.      identified by _i_n_F_o_n_t maps _i_n_C_o_d_e to.
  27.  
  28.      Every font has a font map associated with it. The font map is a table of
  29.      entries that map integer values to the name string that identifies the
  30.      character.
  31.  
  32.      To change the map, that is, associate a different name string with the
  33.      integer ID of a font, use ggggllllccccFFFFoooonnnnttttMMMMaaaapppp.
  34.  
  35.      Every character code used in GLC is an element of the Universal
  36.      Multiple-Octet Coded Character Set (UCS) defined by the standards ISO/IEC
  37.      10646-1:1993 and Unicode 2.0 (unless otherwise specified). A UCS code is
  38.      denoted as U+hexcode, where hexcode is a sequence of hexadecimal digits.
  39.      Each UCS code corresponds to a character that has a unique name string.
  40.      For example, the code U+41 corresponds to the character LATIN CAPITAL
  41.      LETTER A.
  42.  
  43.      If _i_n_C_o_d_e cannot be mapped in the font, ggggllllccccGGGGeeeettttFFFFoooonnnnttttMMMMaaaapppp returns GGGGLLLLCCCC____NNNNOOOONNNNEEEE.
  44.  
  45. NNNNOOOOTTTTEEEESSSS
  46.      Changing the map of a font is possible but changing the map for a master
  47.      is not.
  48.  
  49. EEEERRRRRRRROOOORRRRSSSS
  50.      GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
  51.      context.
  52.  
  53. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.      ggggllllccccFFFFoooonnnnttttMMMMaaaapppp
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.